package Mydxc.cmo;

public class Scz implements Runnable
{
	private Ck stor;
	
	public void setCk(Ck stor)
	{
		this.stor=stor;
	}

	@Override
	public void run()
	{
		while(true)
		{
			try
			{
				Thread.sleep(1000);
			} catch (InterruptedException e)
			{
				e.printStackTrace();
			}
			synchronized (stor)
			{
				this.stor.add();
			}
		}
	}

}
